<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title>上传</title>
    <style>
        .aside{text-align:center; background: #1f8dd6; height: 100px; color: #fff; vertical-align: middle;line-height:100px;font-size: 30px}
        #main{margin-top: 20px;}
        .pure-item{ margin: 0 auto 10px; width: 265px; position: relative;}
        .pure-item:after{ content: ""; display: table; clear: both;}
        .pure-item label{ float: left; line-height: 34px;}
        .pure-item input{ float: right;}



    </style>
</head>
<header id="head" class="aside">上传测试</header>
<body>
<div id="main" align="center">
    <!--<form id="uploadfile">-->
        <!--<input type="file">-->
    <!--</form>-->
    <form id="uploadrbd">
        <input type="file" value="上传镜像到rbd">
    </form>
</div>
<script src="static/jquery.min.js"></script>
<script src="static/spark-md5.min.js"></script>
<!--<script src="static/uploadfile.js"></script>-->
<script src="static/uploadrbd.js"></script>
<script type="application/javascript">
    <!--$('#uploadfile').upload_file({'poolname':'test','chunkSize':2097152})-->
    $('#uploadrbd').upload_rbd({'poolname':'zh','chunkSize':2097152})
</script>
</body>
</html>